html,
body,
div,
h1,
p,
img,
span,
button,
ul,
li,
ol {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #337ab7;
}

ul,
li,
ol {
    list-style: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

body {
    min-width: 1024px;
    background: #eeeeee;
    color: #333333;
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
}

.wrapper {
    width: 940px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: #dddddd 1px 1px 10px;
    overflow: hidden;
}

.header, .content {
    padding: 20px 10px;
    opacity: 0;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
}

.header {
    animation: load-item 1s forwards;
    -webkit-animation: load-item 1s forwards;
}

.content {
    animation: load-item 1s forwards;
    -webkit-animation: load-item 1s forwards;
    animation-delay: .3s;
    -webkit-animation-delay: .3s;
}

.header h1 {
    width: 100%;
    padding-bottom: 15px;
    font-size: 36px;
    text-align: center;
    letter-spacing: 1px;
    border-bottom: 2px dashed #eeeeee;
}

.header h1 span {
    padding-left: 20px;
    font-size: 16px;
    color: #999;
}

.content {
    padding: 20px 20px;
}

.content p {
    font-size: 14px;
    text-indent: 2em;
    line-height: 26px;
    padding-bottom: 10px;
    letter-spacing: 1px;
    word-wrap: break-word;
    word-break: break-all;
}

.img {
    position: relative;
    padding: 2px 2px 0 2px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin: 20px 20px;
}
.img:hover .hover-tips {
    opacity: 1;
}
.hover-tips {
    position: absolute;
    top: -20px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    font-size:12px;
    background-color: #000;
    border-radius: 5px;
    -webkit-transition: opacity .5s ease;
    -moz-transition: opacity .5s ease;
    -o-transition: opacity .5s ease;
    transition: opacity .5s ease;
    opacity: 0;
}
.hover-tips:after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #000000 transparent transparent transparent;
}


.img img {
    border-radius: 8px;
    opacity: 0.85;
    transition: all .5s ease;
}

.img img:hover {
    cursor: pointer;
    opacity: 1;
}

.btn {
    display: block;
    height: 40px;
    width: 200px;
    line-height: 38px;
    background-color: #337ab7;
    border-color: #2e6da4;
    -webkit-box-shadow: inset 0 -4px 0 #2a6496;
    box-shadow: inset 0 -4px 0 #2a6496;
    border: 0;
    color: #fff;
    margin: 20px auto 30px auto;
    border-radius: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 0 30px rgba(0, 0, 0, .075);
    transition: all .5s ease;
}

.btn:hover {
    background-color: #2a6496;
    cursor: pointer;
}

#radioBtn:checked .btn {
    display: none;
}

.more {
    transition: all .5s ease;
    display: none;
}

.tags {
    padding: 20px 0;
}

.tags li {
    float: left;
    margin-right: 10px;
}

.tags li > a {
    display: block;
    padding: 5px 20px;
    font-size: 12px;
    text-align: center;
    background: #dddddd;
}

.footer {
    padding: 20px 0;
    font-size: 12px;
    color: #999;
    border-top: 2px dashed #eeeeee;
    text-align: center;
    animation: load-item 1s forwards;
    -webkit-animation: load-item 1s forwards;
    animation-delay: .6s;
    -webkit-animation-delay: .6s;
    opacity: 0;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
}

.footer > a:hover {
    color: #2e6da4;
    border-bottom: 1px dotted #dddddd;
}

@keyframes load-item {
    0% {
        opacity: 0;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    }
    100% {
        opacity: 1;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    }

}

@-webkit-keyframes load-item {
    0% {
        opacity: 0;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    }
    100% {
        opacity: 1;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    }
}
@-ms-keyframes load-item {
    0% {
        opacity: 0;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    }
    100% {
        opacity: 1;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    }
}

/* mask */

.mask-shadow {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 5;
    display: none;
}

.mask-wrap {
    position: absolute;
    top: 50%;
    left:50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 8px;
    background: #ffffff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    z-index: 10;
    display: none;
}
.close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: transparent url(../img/close.png) -40px 0px;
    cursor: pointer;
    z-index: 11;
}




/* slider */

.loop-banner-list {
    position: relative;
    width: 320px;
    height: 570px;
}

.loop-banner {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 320px;
    height: 570px;
    opacity: 0;
    -moz-transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
    transition: all 1.5s ease;
}

.pic-1 {
    height: 570px;
    background: url(../img/pic-1.jpg) 0 bottom no-repeat;
    background-size: 320px 570px;
}

.pic-2 {
    height: 570px;
    background: url(../img/pic-2.jpg) 0 bottom no-repeat;
    background-size: 320px 570px;
}

.pic-3 {
    height: 570px;
    background: url(../img/pic-3.jpg) 0 bottom no-repeat;
    background-size: 320px 570px;
}

.loop-banner.selected {
    visibility: visible;
    opacity: 1;
}

.selected .link {
    display: block;
    z-index: 3;
    cursor: pointer;
    height: 100%;
}

.loop-dot-list li {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url(../img/loop-dot.png) no-repeat;
    cursor: pointer;
}

.loop-dot-list {
    position: absolute;
    left: 50%;
    bottom: 45px;
    width: 320px;
    height: 18px;
    margin-left: -150px;
    text-align: center;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    user-select: none;
}

.loop-dot-list li.on {
    background-position: 0 -18px;
}
